home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / conf / CSPP.def < prev    next >
Text File  |  1997-07-22  |  2KB  |  52 lines

  1. # NOTES:
  2. #
  3. #   1 - When building with the HP compilers or GNU compilers, make sure that
  4. #       /bin appears in the PATH environment varaible before the Convex
  5. #       compilers or loader (e.g. /usr/convex/bin).  Otherwise the Convex
  6. #       compiler will be used and an incompatible crt0.o will be used to
  7. #       link the executables, resulting in unresolved symbols.
  8. #
  9. #   2 - When building with the Convex compilers be sure that /usr/convex/bin
  10. #       appears before /bin in the PATH environment variable.
  11. #
  12. #   3 - When compiling on an HP workstation for an Exemplar target using
  13. #       the Convex compilers, use the '-Wl,+tmspp1' flag to tell the compiler
  14. #       to use the Exemplar instruction set.  The HP workstation being used
  15. #       for the build will also require /lib/libcnx_syscall.a and 
  16. #       /lib/libail.sl files to be installed from an Exemplar.
  17. #
  18. #   4 - When building libraries with the Convex C compiler that must be
  19. #       compatible with GNU C and HP C objects, compile with the -U_REENTRANT
  20. #       flag.  This turns off the multi-threading of 'errno'.
  21. #
  22. #  
  23. # --------------------- Build with GNU C -----------------------
  24. #CC    = gcc -g
  25. #F77    = fort77
  26. #FFLAGS    = -g
  27.  
  28. # --------------------- Build with Convex C  -------------------
  29. CC    = /usr/convex/bin/cc -Wl,+tmspp1
  30. C_OPT    = -O2 -or none -U_REENTRANT
  31. F77    = /usr/convex/bin/fc -Wl,+tmspp1
  32. FFLAGS = -O2 -or none
  33.  
  34. # --------------------- Standard Stuff -----------------------------------------
  35.  
  36. ARCHCFLAGS    =    $(C_OPT) -DSHMEM -DSYSVSIGNAL -DNOWAIT3 -DNOGETDTBLSIZ \
  37.                 -DRSHCOMMAND=\"/usr/bin/remsh\" -DNOUNIXDOM \
  38.                 -DCLUMP_ALLOC -DHASSTDLIB -DSUBCOMPLEX_SUPPORT \
  39.                 -DFDSETISINT -DBALANCED_SPAWN
  40. ARCHOBJ        =    -lcnx_syscall /lib/libail.sl
  41. ARCHDOBJ    =
  42. ARCHDLIB    =    $(ARCHOBJ)
  43. ARCHLIB        =    $(ARCHLDFLAGS) $(ARCHOBJ)
  44. ARCHFLIB    =    $(ARCHLDFFLAGS) $(ARCHOBJ)
  45. HASRANLIB    =    f
  46. LD            =    $(CC)
  47. PVM_ARCH    =    CSPP
  48. AR            =    ar
  49. LOPT        =    -Wl,-aarchive
  50. NEEDF2M4    =    t
  51.  
  52.